package neural;

public class Exp extends Function {

	public Exp(double beta) {
		super(beta);
	}

	@Override
	public double eval(double val) {
		return Math.pow(1 + Math.pow(Math.E,-2*beta*val),-1);
	}

}
